package com.bsuir.avareader.textprocessing;

public class TextBuffer {

	private int size;
	private char[] prevBuffer;
	private char[] curBuffer;
	private char[] nextBuffer;

	public TextBuffer(int size) {
		this.size = size;
		prevBuffer = new char[size];
		curBuffer = new char[size];
		nextBuffer = new char[size];
	}

	public int getBufferSize() {
		return size;
	}
	
	public int getCurBufferSize() {
		return curBuffer.length;
	}
	
	public int getPrevBufferSize() {
		return prevBuffer.length;
	}
	
	public int getNextBufferSize() {
		return nextBuffer.length;
	}

	public char[] getPrevBuffer() {
		return prevBuffer;
	}
	public char[] getCurBuffer() {
		return curBuffer;
	}

	public char[] getNextBuffer() {
		return nextBuffer;
	}
	
}
